package com.ruoyi.shop.service;

import java.util.List;
import com.ruoyi.shop.domain.ShopUserAddresses;

/**
 * 用户收货地址Service接口
 * 
 * @author liuwp
 * @date 2025-11-24
 */
public interface IShopUserAddressesService 
{
    /**
     * 查询用户收货地址
     * 
     * @param id 用户收货地址主键
     * @return 用户收货地址
     */
    public ShopUserAddresses selectShopUserAddressesById(Long id);

    /**
     * 查询用户收货地址列表
     * 
     * @param shopUserAddresses 用户收货地址
     * @return 用户收货地址集合
     */
    public List<ShopUserAddresses> selectShopUserAddressesList(ShopUserAddresses shopUserAddresses);

    /**
     * 根据业务主键查询一条记录：用户收货地址
     *
     * @param shopUserAddresses 用户收货地址
     * @return 用户收货地址
     */
    public ShopUserAddresses selectOneShopUserAddresses(ShopUserAddresses shopUserAddresses);

    /**
     * 新增用户收货地址
     * 
     * @param shopUserAddresses 用户收货地址
     * @return 结果
     */
    public int insertShopUserAddresses(ShopUserAddresses shopUserAddresses);

    /**
     * 修改用户收货地址
     * 
     * @param shopUserAddresses 用户收货地址
     * @return 结果
     */
    public int updateShopUserAddresses(ShopUserAddresses shopUserAddresses);

    /**
     * 修改用户收货地址
     *
     * @param shopUserAddresses 用户收货地址
     * @param shopUserAddresses 用户收货地址条件
     * @return 结果
     */
    public int updateShopUserAddressesCondition(ShopUserAddresses shopUserAddresses, ShopUserAddresses shopUserAddressesCondition);

    /**
     * 批量删除用户收货地址
     * 
     * @param ids 需要删除的用户收货地址主键集合
     * @return 结果
     */
    public int deleteShopUserAddressesByIds(Long[] ids);

    /**
     * 删除用户收货地址信息
     * 
     * @param id 用户收货地址主键
     * @return 结果
     */
    public int deleteShopUserAddressesById(Long id);

    /**
     * 条件删除用户收货地址
     *
     * @param shopUserAddresses 用户收货地址
     * @return 结果
     */
    public int deleteShopUserAddressesByCondition(ShopUserAddresses shopUserAddresses);
}
